import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint
import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase
import static com.kms.katalon.core.testdata.TestDataFactory.findTestData
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
import static com.kms.katalon.core.testobject.ObjectRepository.findWindowsObject
import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint
import com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile
import com.kms.katalon.core.model.FailureHandling as FailureHandling
import com.kms.katalon.core.testcase.TestCase as TestCase
import com.kms.katalon.core.testdata.TestData as TestData
import com.kms.katalon.core.testng.keyword.TestNGBuiltinKeywords as TestNGKW
import com.kms.katalon.core.testobject.TestObject as TestObject
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import com.kms.katalon.core.windows.keyword.WindowsBuiltinKeywords as Windows
import internal.GlobalVariable as GlobalVariable
import org.openqa.selenium.Keys as Keys

WebUI.click(findTestObject('Object Repository/vehicleReport/Page_/div_'))

WebUI.click(findTestObject('Object Repository/vehicleReport/Page_/li_'))

WebUI.click(findTestObject('Object Repository/vehicleReport/Page_/div__1'))

'车牌号码'
WebUI.setText(findTestObject('vehicleReport/Page_/input_chepaihaoma'), GlobalVariable.FLOW_PROD_PLATE_NUM)

'挂车号码'
WebUI.setText(findTestObject('vehicleReport/Page_/input_guachehaoma'), GlobalVariable.FLOW_PROD_GUA_NUM)

'司机姓名'
WebUI.setText(findTestObject('vehicleReport/Page_/input__sijixingming'), GlobalVariable.FLOW_PROD_CUSTOMER_NAME)

'身份证号码'
WebUI.setText(findTestObject('vehicleReport/Page_/input__shenfenzhenghaoma'), GlobalVariable.FLOW_PROD_IDCODE)

'装货吨位'
WebUI.setText(findTestObject('vehicleReport/Page_/input__zhuanghuodunwei'), GlobalVariable.FLOW_PROD_T_NUM)

'民族'
WebUI.click(findTestObject('vehicleReport/Page_/input__mingzu'))

WebUI.click(findTestObject('Object Repository/vehicleReport/Page_/span_'))

'联系方式'
WebUI.setText(findTestObject('vehicleReport/Page_/input__lianxifangshi'), GlobalVariable.FLOW_PROD_PHONE)

'运输目的地'
WebUI.setText(findTestObject('vehicleReport/Page_/input__yunshumudidi'), GlobalVariable.FLOW_PROD_TARGET_PLACE)

'货物名称'
WebUI.setText(findTestObject('vehicleReport/Page_/input__huowumingcheng'), GlobalVariable.FLOW_PROD_CARGO_NAME)

'运费价格'
WebUI.setText(findTestObject('vehicleReport/Page_/input__yunfeijiage'), GlobalVariable.FLOW_PROD_PRICE)

'车长'
WebUI.setText(findTestObject('vehicleReport/Page_/input__chechang'), GlobalVariable.FLOW_PROD_CAR_LENGTH)

'报备有效期'
WebUI.setText(findTestObject('vehicleReport/Page_/input__baobeiyouxiaoqi'), '1')

'报备备注'
WebUI.setText(findTestObject('Object Repository/vehicleReport/Page_/textarea__el-textarea__inner'), '备注')

WebUI.click(findTestObject('Object Repository/vehicleReport/Page_/div__1_2'))

